package com.easychat.entity.enums;

/**
 * @Author Dongdong
 * @注释  申请加入类型 0:直接加入  1：申请加入
 */

public enum JoinTypeEnum {
    /**
     * 好友
     */
    JOIN(0,"直接加入"),
    /**
     * 群组
     */
    APPLY(1,"申请加入");
    private Integer type;
    private String desc;
    JoinTypeEnum(Integer type,String desc){
        this.type = type;
        this.desc = desc;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
